import request from '@/utils/request'

export function getDept(params) { // 获取部门
  return request({
    url: '/v2/basic/department',
    method: 'get',
    params
  })
}

export function getDormitory(params) { // 获取宿舍
  return request({
    url: '/v2/basic/dormitory',
    method: 'get',
    params
  })
}
//  获取刚入职需补充信息的成员
export function replenishmentInfo(params) {
  return request({
    url: '/v2/basic/user/supplementary',
    method: 'GET',
    params
  })
}

export function getDeptpeople(params) { // 获取部门成员
  return request({
    url: `/v2/basic/user/department`,
    method: 'get',
    params
  })
}
